package com.ashley.day_03;

//今天是周二，100天以后是周几？
public class WeekTest {

	public static void main(String[] args) {
		int week = 2;
		week = week + 100;// 或者week += 100;
		week = week % 7;
		System.out.println("100天以后是周" + week);

		//**************************
		int week1 = 2;
		int week2 = 100 % 7;
		week1 = week2 + week1;
		System.out.println("100天以后是周" +week1);

	}

}
